Skip to main content

HandleSecurityEvents

Description

call HandleSecurityEvents to handle security alarms.

Request Method

POST

Request Path

/apsara/route/aegis/HandleSecurityEvents

Request Parameters Common Parameters

NameLocationTypeRequiredSample valueDescription
SourceIpBODYstringNo1.2.3.4access the IP address of the source.
SecurityEventIds.NBODYrepeatlistNo["909361"]security alarm ID.
regionIdBODYstringYesNo sample value for this parameter.region id
OperationParamsBODYstringNo{"expireTime":1578475919533}parameter values returned by operations that process similar alarm events in batch. except that the OperationCode value is kill_and_quara and block_ip , if the OperationCode is another value, the parameter value can be empty.
OperationCodeBODYstringNoignorethe type of operation for batch processing of similar alarm events. deal: handle alarms (quarantine) kill_and_quara: virus killing kill_virus: deep kill block_ip: block ignore: Ignore mark_mis_info: marked as false positive (whitelist) rm_mark_mis_info: unmark as false positive (cancel whitelist) offline_handled: marked as processed
versionBODYstringNo2016-01-01version of api

Return data

NameTypeSample valueDescription
HandleSecurityEventsResponsestructNo sample value for this parameter.returns the result of handling the security alarm.
TaskIdlong3187task ID for handling security alerts.
RequestIdstringD929B6F9-EE5E-4F26-A22F-65D4088B6F24request ID of the result.

Example

Successful Response example

{
"HandleSecurityEventsResponse":"",
"TaskId":"3187",
"RequestId":"D929B6F9-EE5E-4F26-A22F-65D4088B6F24"
}

Failed Response example

{
"errorSample":
{
"resultCode":-1,
"resultMsg":"system error",
"result":null
}

}